package com.gomefinance.hl.elasticjob;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication
//加载properties配置文件
@PropertySource({"classpath:config/application.yml","classpath:config/application-dev.yml", "classpath:config/application-prod.properties"})
//加载xml相关的资源文件
//@ImportResource("classpath:rabbitmq.properties"
public class Application  {
	private static final Logger log = LoggerFactory.getLogger(Application.class);

	// CHECKSTYLE:OFF

	public static void main(final String[] args) {
		// CHECKSTYLE:ON
//		EmbedZookeeperServer.start(6181);
		SpringApplication.run(Application.class, args);
	}







    
}  